Revert "Modyfied BidirectionalLinkedList."

This reverts commit b27902c2bf2ae2c65bdea882f0c5aac1912a056b.