Added my implementation of the functions and comments on them to the file cachematrix.R