Added 'dispose()' to graphics objects

Updated methods in ‘Game.java’ to use ‘dispose()’ after using Graphics
objects.