Create hex_to_dec.c

This handles hex numbers with and without the 0x prefix