Creating a level generator