Add solution for hexadecimal problem