added circular buffer class, but don't plan on using it yet for MVP.