Submission for assignment 2, coursera/rprog-016

Added bodies for the required methods in cache matrix.R