A ruby program to take 3 inputs as lengths to determine the type of triangle