cacheSolve finalized + test cases added