This algorithm helps you calculate the determinant of any square matrix.
To try it run program.py with the last line uncommented.
Here are some screenshots of the program: https://imgur.com/a/4OEH9
Determinant definition: https://en.wikipedia.org/wiki/Determinant