Added test_cachematrix

Added test cases for unit testing the functions