Homework for the coursera course