Implement hashCode, equals, and toString for Pair and Triple
Merge pull request #525 from sharwell/tuple-features

Implement hashCode, equals, and toString for Pair and Triple