updated getNode from SinglyLinkedList with decreasing annotation.