Linked lists in java.