correct answers for up through programming exercise week 3