public static boolean neighbours_test()
    {
        boolean ret = false;
        TwoD[0][0].alive = true;
        TwoD[0][1].alive = true;
        TwoD[0][2].alive = true;
        TwoD[1][1].alive = true;
        TwoD[2][0].alive = true;
        TwoD[2][2].alive = true;
        
        if(neighbours(TwoD[0][0]) == 2 &&
           neighbours(TwoD[0][1]) == 3 &&
           neighbours(TwoD[0][2]) == 2 &&
           neighbours(TwoD[1][0]) == 4 &&
           neighbours(TwoD[1][1]) == 5 &&
           neighbours(TwoD[1][2]) == 4 &&
           neighbours(TwoD[2][0]) == 1 &&
           neighbours(TwoD[2][1]) == 3 &&
           neighbours(TwoD[2][2]) == 1  ) 
        {
            ret = true;
        }
        
        TwoD[0][0].alive = false;
        TwoD[0][1].alive = false;
        TwoD[0][2].alive = false;
        TwoD[1][1].alive = false;
        TwoD[2][0].alive = false;
        TwoD[2][2].alive = false;
        return ret;
    }