Completed functions and comments for Assignment 2

Wrote functions for makeCacheMatrix and cacheSolve in R with
corresponding code comments.