Dam that took forever. Complete Euler 11