Create NodeComparator.java