R-programming homework

R-programming homework