Below are some diagrams I drew to help me (and my ever decreasing brain) figure out what the hell I was doing when it came to doubly linked lists (code - insertions - deletions).
Insertion at the start of the List:
Insertion at the end of the List:
Insertion in the middle of the List:
Deletion Page
Back Home