added beginning of doubly linked list, minor change to linked list, apparently