Converts a base 16 string to a base 10 number. Because I couldn't get base R functions to work for big hex numbers.
Useful links