2nd Week Assignment part1: Deque