makeCacheMatrix coursera assignment solved

Solved exercise from the coursera peer assignment 2