input: Write a python function to generate an 8x8 checkerboard pattern where each square is either "black" or "white".
  assert generate_checkerboard()[0][0]['color'] == 'white'
  assert generate_checkerboard()[1][1]['color'] == 'black'
  assert generate_checkerboard()[2][0]['color'] == 'black'
  assert generate_checkerboard()[3][1]['color'] == 'white'
output: def generate_checkerboard():
      board = []
      for row in range(8):
          board_row = []
          for col in range(8):
              color = 'white' if (row + col) % 2 == 0 else 'black'
              board_row.append({'color': color})
          board.append(board_row)
      return board