Triangle solution

Please look at file triangle_facts.rb for solution of the Triangle Facts exercise.
Trailing whitespace detected.