public static void main(String[] args) {
        ListNode node1 = new ListNode(1);

        ListNode node  = node1;
        for(int i=2;i< 10;i++){
            node.next = new ListNode(i);
            node = node.next;
        }
        node = node1;
        while(node != null){
            System.out.print("  " +node.val);
            node = node.next;
        }
        node = new Remove_Nth_Node_From_End_of_List().removeNthFromEnd(node1,9);
        System.out.println();
        while(node != null){
            System.out.print("  " +node.val);
            node = node.next;
        }
    }