solution ready, only comments needed
programming task 2 ready: caching matrix inverse, with comments