Fixed path to triangle.rb

[#65851772]
Fixed triangle.rb and to pass all tests

[#65851772]