code: def compose(im, y, fns):
      
      for fn in fns:
          #pdb.set_trace()
          im, y =fn(im, y)
      return im if y is None else (im, y)
docs: Apply a collection of transformation functions :fns: to images