Queue class: added store()