given three co-ordinates X1, X2, X3, write code to find whether the points make a triagle or not and also what type of triangle (equilateral, right angle, isosceles ..)