move C++ files
add Haskell version
move Ruby version file
add .gitignore
add Haskell version test
add Ruby version test