Insert Node In Linked List Algorithm Python