code: public Permutation multiply(Permutation other) {
          Permutation newPermutation = new Permutation(values.length);
          for (int i = 0; i < values.length; i++) {
              newPermutation.values[i] = this.values[other.values[i]];
          }
          return newPermutation;
      }
docs: Multiply this permutation by another such that for all i,
  this[i] = this[other[i]].
  
  @param other the other permutation to use
  @return a new permutation with the result of multiplying the permutations