Create isReverse.java