Codility - Lesson 4: solution to Triangle in PHP (Test score: 100%)