Coded up function guts of makeCacheMatrix and cacheSolve. Seems to be working.