Implement first concept of iqueue