Whoops--problem 2 output should just be a number.
Add file for problem 3. Minor cleanup of problem 2.