Hexadecimal exercise | 1st iteration