how to convert a hexadecimal into base 10 integer using haskell . I have written a code but its not working for large values , please help