Renamed Tuple to Pair and wrote a Triplet class