Added a task2 canvas base for the drawing
added functionality for drawing rectangles, choosing colors, clearing the canvas