fixed minor typos in Problem 5