Adding the java files to draw shapes on a canvas in Java