private int GetNorthY(int Y)
 {
     if (Y == grid2d.GetYDimension() - 1)
     {
         return(0);                                //inifinite boundary - torus
     }
     else
     {
         return(Y + 1);
     }
 }