R Programming Project 2 finished. cached inverse matrix