If current point lies inside given triangle as well as inside any of the four obtained triangles
if ( condOne or condTwo or condThree   \ or condFour ) and condFive : NEW_LINE INDENT ans += 1 NEW_LINE DEDENT