Add linked list in python