This is the matrix file
Here is my code, it is all done in main, quick and easy
I pulled the problem set from project euler and these are the instructions