Added queue using array