Publishig solveCache function

Programming assignment 2