C++ code for a Bounded Queue Data Structure