cachematrix
 - Updated script to complete assignment