Added a couple of functions, you can now draw a rectangle by clicking anywhere in the canvas.