CacheMatrix and related test file

CacheMatrix and related test file for R Programming assignment 2