Finish exercise A of activity assignment