Changed implementation to use the built-in hex conversion
Merge pull request #1 from jonasgulle/patch-1

Changed implementation to use the built-in hex conversion