Old (circa 2012) code from high school, makes drawing certain objects in an applet easier