Writing MakeChacheMatrix

first try