Add circular-buffer exercise

Now that you mention it I think your suggestion will work. I wrote this after an example in another language that used "if".