Making isTriangle method private