beginning to implement a linked list in python