code: private static List<CcgParse> filterToMaxScoring(List<CcgParse> parses) {
      List<CcgParse> maxParses = Lists.newArrayList();
      if (parses.size() > 0) {
        double bestScore = parses.get(0).getSubtreeProbability();
        for (CcgParse parse : parses) {
          if (parse.getSubtreeProbability() >= bestScore) {
            maxParses.add(parse);
          }
        }
      }
      return maxParses;
    }
docs: Returns the parses from {@code parses} whose scores are
  equal to the highest score.
  
  @param parses
  @return