Task1

Here's my implemention of Dlist.
I am not sure about correctness of errors processing, it is what it is.