Utility method that actually removes the nodes which are not on the pathLen >= k . This method can change the root as well .
public virtual Node removeShortPathNodesUtil ( Node node , int level , int k ) {