Skeleton code added; includes undo, redo, and drawing.