Queue explaining by using array.