Trying to fix array prob

Almost fixed the queue problem