Project Euler #184: Triangles containing the origin.