wrote compileRunCompare.sh