Experimenting with path-finding algorithms in Haskell Build with stack build and run the example with stack exec bfs.