implemented cachematrix
add cachevector example from the assignment description