Update isSubtree.java