A Python Implementation of a doubly linked list