code: private int computeDifficulty(Operation left)
      {
          int difficulty = 0;
          if (left instanceof MappedOperation)
          {
              difficulty = 10*getMappingDepth(left);
          }
          return difficulty;
      }
docs: todo: add zGetDifficulty method to the operation itself.