Optimize some of the DoublyLinkedList code. About 75% done with the class.

Signed-off-by: dadamitskiy <dadamitskiy@fullsail.edu>