Version-1: Coded cachematrix