Fixed out of range exception in GetLine.

The array list[] was being accessed through 4 indices, but only initialized to be an array of 3 strings.