I'll try to do my best

To day, DJ algo using paths is working !
So, there is no doubt, I'll give you ASAP something to play with.
BTW:
sometimes a matrix is nothing more than two dimensional array

you don't need to understand what is DJ algo to use it, at the end, we'll have some new path functions like this one :
I am here, I want to go there, what is my next point ?
I go on working...