Implemented the makeCacheMatrix and cacheSolve functions for Programming Assignment 2