using front sensor to solve the maze works well