Perfect Mazes Generator Class