makeCache and cacheSolve for submission

Final version