Update Homework 2.Rmd

Added 4b.