hexadecimal to octal in java