modified sarsa.cpp so the robot goes backwards when it sees 254