Add circular-buffer exercise

I would make this clause the first one and possibly remove the when clause on the other one.