add Triangle.cpp