R Programming course, Assignment 2

computes inverse of provided matrix and caches result for retrieval.