Update cachematrix.R

This is the final vesion :) :P