Program to convert hex into an integer.

Took me a while to get this one down, as I didn't consider how for loops work within C and the difference between ++i and i++... etc