Update Tester.java

changes to the way the for loop works