Created a World class to encapsulate the game world.