Generates levels for game.