IntPair class constructor added

updated the .java file for the IntPair class with a constructor I use