Improved hex digit to dec digit conversion in hexadecimal.
Added largest-series-product.