Simple Generic Java Linked List Implementation