Traversing in 4 nodes of linked list