Lots of changes to batchRun.sh

Most of the functionality is in place. Does not actually run tests
arguments for python yet. Java program automation will come later.