added my functions to cachematrix.R file