coursera computer programming HW4