Added video writing

Write the images to an output video