added double and single linked list in Python