Raycasting Example: labyrinth