Implementing ArrayQueu Class