pretty output of hexdump like in Java