Initial commit
let-in fix thanks to wiz
test
rewritten in Haskell