implmementation of makeMatrix and cacheSolve