Refactored the three robot commands to use a curried function for handling lost robots neatly.