Solved!

Complete functions for cacheMatrix and cacheSolve