euler 04, but could probably definitely be optimized to use itertools