public void print(Node root){
        if(root == null){
            return;
        }
        System.out.println(root.data);
        print(root.next);
    }
http://www.geeksforgeeks.org/populate-inorder-successor-for-all-nodes/
src/com/interview/tree/PopulateInOrderSuccessor.java