Adding comments and copying the function for caching vectors. Next
step: changing the function for caching the inverse of matrix.