Copy hw2q4smp to make a sequential version.
Complete hw2q4seq.