Create knode from end.cpp

deleting kth node from the beginning