made a shape be drawn

movement doesn't seem to work, makes a null pointer error while
painting.