First submission of implementation of cacheSolve and makeCacheMatrix with some minor boundary checks