triangles refactored

Thank you Github app
should be `private`

OR

If you want to reuse this code, then you should create a new Object with class method named something like `TriangleMath` (Triangle"Facts" probably should have the public contract for the math)