Finish problem 3a (still need to check answers)