Euler 20 solution using BigInteger