This is a pathfinding algorithms for graphs, implemented in Scala
Paths for 20x20 maze:
'@' denotes the path, 'S' denotes start position, 'E' denotes end position and '1' denotes walls and 'o' and 'x' are possible paths.
Same as above but the 'o' is replaced with a ' '