filled in the assignment code.  created memoized method call and special 'cache' solve for matrix