adds madrid.hs, an experiment in porting madrid to Haskell