Toy Haskell program that finds a path in a text input map using the A* search algorithm