Need help calculate and draw a path through various coords representing road junctions/corners from point A to point B, help! (Not a device with native routing)

Currently I draw routes in my app by having it so the user manually and labourously adds each projected point of a route to an array by using ProjectedDistance, this works well but is a bit tedious, how might I do it so you only need a point A (your location) and a point B (destination) then have the watch calculate the route throught the various points representing road corners/junctions. I’ve seen something called djikstras algorithm but i’m not emtirely sure how to translate to monkey c. Help is appreciated.