CacheMatrix updated

Created two functions to solve the exercise number 3 fom Cousera's R
Programming course.