CacheMatrix Solution

Tried a Solution for the CacheMatrix Assigment isnt working yet need
further refinement.