You are working with a computer simulation of a mobile robot. The robot moves on an plane, and its movements are described by a command string consisting of one or more of the following letters:
Ginstructs the robot to move forward one stepLinstructs the robot to turn leftRinstructs the robot to turn right

