Homework for parallel computing class