cachematrix.R

Assignment 2 homework attempt.