move triangle.rb