Modified the MainTester.Java to read user input