Add Haskell solution to octal