Using some old code to Generate a level