R Programming Assignment 2 Completed

- 2 working functions with comments