code: def mandelbrot(x, y, maxit=255):
      c = complex(x, y)
      z = complex(0, 0)
      n = 255
      while abs(z) < 2 and n > 1:
          z = z**2 + c
          n -= 1
      return n
  
imports: import sys
  import time
  from mpi4py.futures import MPICommExecutor
label_desc: Use image node_id 1 for calling a global function with example usage: mandelbrot(x, y, maxit) and returns: n