update r markdown file for assignment 1