Adds implementation of makeCacheMatrix and cacheSolve