Simple circular queue implemented