Added the functions draw(), clear() and moveTo() which will let's us add rectangles to the canvas and move them.