decimal converter, up to hexidecimal