homework R files and plots