Вильчинский - Лабораторная работа #1

It's a common practice to allow type inference and avoid duplication in generic parametrization. In general `deque` should be an interface, but for lab purposes, class is ok (c-tor is private by the same reason).