Project Euler #166: Criss Cross