solved euler 99, using logs to determine largest value of large exponents