problem8: added haskell solution
problem8: cleaned up python