Implementing bounded buffer
Merging