Completed Part 1 of R programming assignment 1.