Update triangle.rb for about_triangle_project_2.rb