queue implemented with enQueue and deQueue