Create Binary to Hex function