created matrix inverse & caching functions

programming assignment 2 submission