Committing editet programming assignment 2 (caching the inverse of a matrix).