Simple circular buffer for demo purposes