Completed ProgrammingAssignment2

Modified the template functions makeVector() and cachemean() and adopted
them to develop makeCacheMatrix() and cacheSolve() functions.