Cachedmatrix initial version

both functions implemented, tested and commented