code: @NotNull
      public List<Match> getSimilarities(MathNode refTree, MathNode compTree, boolean onlyOperators) {
          List<Match> similarities = new ArrayList<>();
          findSimilarities(refTree, compTree, similarities, false, onlyOperators);
          return similarities;
      }
docs: Get a list of similarities between the reference and comparison tree.
  
  @param refTree       Reference MathNode tree
  @param compTree      Comparison MathNode tree
  @param onlyOperators find similarities only between operations, leafs are not checked
  @return list of similarities, list can be empty but never null