Add frame module

Add frame module which contains functions for drawing on
multidimensional arrays, or frames that are displayed by the movie