Fixed logic error with largestStringLength

stringArray was hardcoded to "1" instead of abstracted to "i"