adding file Triangle.py