Fixed circular doubly-linked list.
Reorganized files.