bit error ratio simulations written in Haskell