I fixed up the GameObject, MovingObject classes. I also added the Collectable class.