add basic queue using array to implement