Random level generator and editor