Wrote makeCacheMatrix and cacheSolve functions

Wrote the makeCacheMatrix and cacheSolve functions as specified in the
R programming assignment 2.