Add comparator.java