cachematrix

two functions are finished