a simple hexconverter in Java.