Replace double_ended_queue.py (#5429)
Replace double_ended_queue.py (#5429)

* Add deque_from_scratch.py

* added deque_from_scratch.py

* add extend, extendleft and make comparison

* updated operations list

* fix doctest on Deque.__iter__

* pre-commit fix

* time complexity comments, change type hints

* pre-commit fix

* added more doctests
TheAlgorithms/Python