Added altPairs.java