static void Main(string[] args)
        {
            //1.
            Potato potato = new Potato();

            if (potato == null)
            {
                throw new ArgumentNullException("Potato does not have a value.");
            }

            if (potato.HasBeenPeeled && !potato.IsRotten)
            {
                Cook(potato);
            }

            //2.
            bool shouldVisitCell = true;
            int x = 5;
            int y = 10;

            if ((MinX <= x && x <= MaxX) && (MinY <= y && y <= MaxY) && shouldVisitCell)
            {
                VisitCell();
            }
        }
        static void Main(string[] args)
        {
            //1.
            Potato potato = new Potato();

            if (potato == null)
            {
                throw new ArgumentNullException("Potato does not have a value.");
            }

            if (potato.HasBeenPeeled && !potato.IsRotten)
            {
                Cook(potato);
            }


            //2.
            bool shouldVisitCell = true;
            int  x = 5;
            int  y = 10;

            if ((MinX <= x && x <= MaxX) && (MinY <= y && y <= MaxY) && shouldVisitCell)
            {
                VisitCell();
            }
        }
 public static void Cook(Potato potato)
 {
 }
 public static void Cook(Potato potato)
 {
 }