Fixed type error in labyrinth class