Queue using Array, Problem statement.