Singly Linked List Example(Java)