Linked list and recursion python files