Update StringTest.java

Adjusted autoRun loop so it doesn't always start with an input size of 0.