Create triangles.java