iOS app to test if three given side lengths form a triangle