labyrinths tested and bug fixed