Robot Vacuum Cleaner

A robovac (robotic vacuum cleaner) can make a step forward by the move() command, turn α degrees counterclockwise by the rotate(α) command and check if the space in front, on the right or on the left of it is free (cleaned) by calling the functions frontFree(), leftFree(), and rightFree(), respectively.

Develop your own strategy for the robovac’s behavior that cleans the entire room. The plan of the room is modifiable!