Completed basic functionality, including drawing rectangles, circles, and lines