code should work now
direction is unclear. unsure where the end point is? the last visible direction is to go up, but that's it?
nevermind, finish line is at the back of the map