more Decode Numbers

C, and improve Haskell