public void run() {
        boolean sum = false;

        for (int a = 1; a < 1000; a++) {
            for (int b = 1; b < 1000; b++) {
                for (int c = 1; c < 1000; c++) {
                    if (MathFunctions.sumIsThousand(a,b,c) == true){
                        if (MathFunctions.isPythagoreanTriplet(a,b,c) == true){
                            this.answer = a * b * c;
                        }
                    }
                }
            }
        }
    }