fixed typos in Problem 3(a) and 3(b)