Changing Integer to int in MyPair class