Haskell implementation of https://www.schneier.com/solitaire.html