Checked the Queue implementation with success
changes to queue