[Haskell-beginners] splitWith and foldr stack overflow