Need to implement a queue instead of an array then finish my comments.