Updated cachematrix.R with first draft of completed assignment.