Generation of movie is working. Layout algorithm added