added data files necessary for course project. modified R code slightly