Implemented PersistentQueue