Moved C code to its own directory.
Added the original haskell code.