* added hex units * deleted blank line, to fix style error * added unit tests * updated unit tests and changed the way it handles negative hex0x