Function Charhex

( charhex < ch > )
convert hex character to decimal