Linting and adding additional comments
Circular buffer and associated tests