Java Singly Linked List Class In Python