Triangle app in Ruby!