Laser Maze Determine the number of steps a laser travels before making contact with the wall. The laser should indicate when it has entered an infinite loop, a situation where it can not make contact with the wall due to objects in its path.