q3 and hw9.txt updated