Triangles in a Grid | CodeChef