Added a module for cyclic buffers, with tests

The intension was to use this data structure in the recurrence combinators in Stream, but that is not directly possible due to the use of `withArray`.