public static int neighbours(Cell c)
    {
        int x = c.getx();
        int y = c.gety();
        int AliveCount = 0; 
        
        for ( int rowMod = -1; rowMod <= 1; rowMod++ ) 
        {
            for ( int colMod = -1; colMod <= 1; colMod++ ) 
            {
                if((x+rowMod) > -1 && (y+colMod) > -1 && //ArrayOutOfIndex
                   (x+rowMod) < X && (y+colMod) < Y )   //ArrayOutOfIndex
                {
                    if((x+rowMod) == x && (y+colMod) == y ){/*Skip Current Cell*/}
                    else
                    {
                        if(TwoD[x+rowMod][y+colMod].alive)//Neighbour Alive :)
                            AliveCount++;
                    }
                }
            }
        }
        return AliveCount;
    }