Added Asc2Hex function