Added a bit of code that should make the robot localize every 4 moves.