python convert hex string to list of integers