linked list implimentation in python. for data structures