Project Euler #215: Crack-free Walls