cacheMatrix solution

Initial solution for programming assignment 2