Create cachematrix.R

Sorry, I couldn't figure out how to clone/commit. So i just downloaded the zip file, edited it with my content, and created this new one. Hopefully I can still get partial credit from the code.

Thank you!