assignment completed

Code to get matrix, set matrix, and function to check cache and return
matrix all done! Also includes some code to check functions courtesy of
Fu Shen Wang.