negDiagonal WORKS!!!! REJOICE, MY FRIENDS

i realized that i could just record the start index of the diagonal an element belongs during the loop that finds the length of the diagonal of an element

i could have realized this five hours ago but i did not and right now i simutaneously want to kick myself in the face while crying tears of joy

ANYWAY, negDiagonal does work now but now i have to reverse some logic to make it work for pos diagonal
which i can probably do by just reversing the whole matrix and running negdiagonal but that might take up too much computing power so it would probably be more efficient if i do it the first way even though it will now require me to think

more updates coming soon