Localization

@shaun-edwards 
Can you review what I've done so far? (I hope this is what you meant by making another branch and doing a pull request...) Thanks.
Just an FYI...this standard library [class](http://en.cppreference.com/w/cpp/io/manip/hex) may be a more robust way of handling this (although not as fast).