Create cachematrix.R

Initial commit.