view(): DoublyLinkedList<T> {
        if (this.size === 0) throw "Can not view an empty list.";
        let pntr = this.head;
        let log = "";
        while (pntr) {