Homework for Stat Computing class