Altered the LevelGenerator code to be easier to work with later on.