Added solution to bounded buffer