First draft - BoundedBuffer class