Recursion in, but horribly wrong
dijkstra works and gives output path
changed map