Added a function that converts a string to hexadecimal
Merge pull request #2 from humra/master

Added a function that converts a string to hexadecimal