R programming assignment 2

completion of shell function cache matrix for assignment 2