CacheMatrix functionality v1

Coursera Programming Assignment 2