Added an GameObject class for map generation and collision