Hexadecimal homework