updated Rmd to answer first few problems