Triangle facts

Code modified to conform to Ruby style guide