added programming assignment2 cachematrix for rprogramming class