Update cachematrix.R

Created and commented the functions