Week15: Algorithm to evaluate determinants and inverse of matrices