Refactor and find largest product.