initial commit of the cacheMatrix function for ProgrammingAssignment 2