haskell functions for string to int and another for processing all digits in a string to int