A simple double ended queue datastructure