Triangle solution

Please look at file triangle_facts.rb for solution of the Triangle Facts exercise.
Use the new Ruby 1.9 hash syntax.