Added assignment solution to file cachematrix.R