added automated run script and modified gcd programs to take in filenames