Assignment 2

A new version of cachematrix.R which completes the assignment.