public void executeSequence(MoveSequence sequence) {
      for (MovementAction action : sequence) {
         switch (action) {
            case Forward:
               forward();
               break;
            case TurnLeft90:
               turnLeft90();
               break;
            case TurnLeft45:
               turnLeft45();
               break;
            case TurnRight90:
               turnRight90();
               break;
            case TurnRight45:
               turnRight45();
               break;
         }
      }
   }