wip -- trying to implement a deque in c++