I updated the cachematrix.R file and added the final solutions for the homework 2 r-programming