[Haskell-cafe] Translating an imperative algorithm - negascout