Simple Java HexToInt Calculator