Solved problem 440 base case
Made matrixPow for biginteger