Source: https://ma202linearalgebra.files.wordpress.com/2020/11/l10_gauss-jordan-method-inverse-of-matrix.pdf