old_contents: INFINITY = 1e+31
  
  DIRECTIONS = ((-1,-1),(-1,0),(-1,1),
                 (0,-1),        (0,1),
                 (1,-1), (1,0), (1,1))
  
  EMPTY = 0
  BLACK = 1
  WHITE = 2
  
  def opposite_colour(col):
      if col == BLACK:
          return WHITE
      if col == WHITE:
          return BLACK
  
new_contents: INFINITY = 1e+31
  
  DIRECTIONS = ((-1,-1),(-1,0),(-1,1),
                 (0,-1),        (0,1),
                 (1,-1), (1,0), (1,1))
  
  EMPTY = 0
  BLACK = 1
  WHITE = 2
  
  def opposite_colour(col):
      if col == BLACK:
          return WHITE
      if col == WHITE:
          return BLACK
  
  from pdb import set_trace as st
  
subject: Make a shortcut for debugging with pdb