Problem left: array out of bounds