Hex <-> Bin conversion utility