Added various graphics classes and image rotation

Added shape class and subclasses, added sprite class, and added image
rotation function (which doesn't work properly)