A matrix solver for my independent study