first attempt at makeCacheMatrix and cacheSolve functions for R Programming assignment 2