added tests for graphics class and fleshed out the graphics class a bit more