public static void Main()
        {
            /// Task 1

            Potato potato = new Potato();

            ///...

            if (potato != null)
            {
                throw new ArgumentNullException("Potato is not assigned");
            }
            else
            {
                if (!potato.HasNotBeenPeeled && !potato.IsRotten)
                {
                    Cook(potato);
                }
            }

            /// Task 2

            bool shouldVisitCell = false;
            int x = 0;
            int y = 0;

            bool isXInRange = IsInRange(x, MinX, MaxX);
            bool isYInRange = IsInRange(y, MinY, MaxY);

            if (isXInRange && isYInRange && shouldVisitCell)
            {
                VisitCell();
            }
        }
 public static void Cook(Potato potato)
 {
     throw new NotImplementedException("TODO");
 }