Create switchPairs.java