Singly Linked List implementation in Java.