added JavaDoc to Pairs, Triples, and Quadruples