Removed obsolete IR(int pin) function
Refactored WallFollowSensorUpdate and added a new SwitchWallFollowDirection function