Move the haskell hex encoding to test_ottery.hs; use Data.Char