Lab 8: added cyclic queue