Depth first search for farmer, cabbage, goat problem implemented in Haskell.