assert that argument of hexToNibble is a hex digit
forgot to return a value here -.-"