Revert "Revert "Initial R programming assignment 1""

This reverts commit 1f97480612522054606d62c110c189fd69ad1d32.
programming assignment 2