Create triangles.cpp