Documenting and cleaning up
Converted to_hex_ to static method
Changed set_ to set and to_ to to, just cleaner.