Assignment2 for Coursera

I updated cachematrix.R for coursera.