implement linked list in python