working version breadth first labyrinth
added back method
release depth first labyrinth