Trivial bug fix:  deque == []  is not a good way to check if a deque is empty.
1 file changed