more work on doubly linkedlist and conforming it to a coding style