some of my preliminary code for the graphics lab