add MaxDeepth.java