finished labyrinth algorithm