R assignment 2

Matrix Cache for reuse.