added "RingBuffer"
new implementation of the rules uses a ring buffer instead of a simple vector of vectors
changed to a header only ring buffer implementation for simplicity