Adding an "equals" method to the Pair