Finished

I've updated the two functions to work with a matrix and the solve()
function.

Based almost exclusively on the example, but I've removed the set()
method and changed a few things.

I've added comments to (hopefully) demonstrate my comprehension/