Create remove Nth node from end.java