Added a doubly linked list and some methods for using it