new(htoi.c) Convert hexadecimal strings into integers