Implements the solution to assignment 2

Adds comments and valid code for makeCacheMatrix and cacheSolve.