Added assignment code to cachematrix.R