Removed magic numbers from loadLevel function allowing for more flexibility in creating levels.