Added BufferMonitor class to calculate mean arrival rate of write requests.

Ticket 3 is closed due to this commit.