edit and add Assign2 to cachematrix.R