Added code to functions, and comments.

 - code for matrix object
 - code for inverse of matrix