Update cartesianOrderedPair.java

add some methods that might be useful later.