Create TriangleCounter.java