%This plays an image array as a movie. There's probably an easier way to do
%this with grayscales, but this is the way given in class.
function [] = playSequence(imarray)
    for i=1:size(imarray,3)
        imshow(imarray(:,:,i))
        pause(0.03)
    end
end
