created R markdown files for the assignment