Implemented hex
Added tests for hex and int conversion