Make hexadecimal problem more idiomatic
Merge pull request #24 from JohnGB/hexadecimal