Completed functions makeCacheMatrix and cacheSolve

Learnt heaps about R