labyrinth read and print