Updated SinglyLinkedList Data Structure implementation