array going out of bounds?

Printable View