Refactor Lists

* Added more tests for lists.
* Refactored SinglyLinkedList.
* Added DoublyLinkedList.