updated SingleLinkedListNode for cylic