Changed deque push/pop names to reflect position in memory