cachematrix.R solution

Thomas Godfrey