cachematrix

solution