graphics code I did for CS 112 in UCI :)