Submission of assignment to function cachematrix