ProgrammingAssignment2 completed; cachematrix.R updated with script solution, explanatory comments, and example usage.