Modified cachematrix.R for programming assignment 2

Created functions to cache a matrices inverse for future computation. If
the matrix has not been used before the function will compute it's
inverse otherwise it will use the cached value.