Fixed weird results in Problem 2, part 3. Re-knit pdf from .Rmd file.