Update labyrinth_traversal.py