This script is used to automatically run students' homework and output results into .txt file