cacheMatrix assignment

my response for programming assignment 2