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

@borodulina @ryabenko please review
Because of `deque::getFirst`, you want to write `deque.getFirst`, don't you?