updated SortTester.java to use sorted array checker