swap k the node in a given linked list