Answers to coursera for progfun-003