Implement String#hex

Implement String#hex currently doesn't work.