Simple Ring Buffer type implemented in Golang