Problem 009 - C++
Problem 009 - Haskell