Moebius Solutions interview question

Create a ring buffer.