Assignment to Matrix inversion and caching

Peer Assignment for R: Assignment to Matrix inversion and caching