Added function to test if all 3 sides of triangle are valid