Finished naive bounded queue impl