Added code to split triangle into 3 when new point added inside it