def set_effective_list(column, row):
	"""
	Function: Create an effective matrix and use (0: invalid 1: valid) to record the path that can be taken.
	:param column: (int) x direction 
	:param row: (int) y direction 
	:return: (list) List of valid paths
	"""
	effective_list = [[0 for i in range(column + 2)] for j in range(row + 2)]

	for i in range(1, column + 1):
		for j in range(1, row + 1):
			effective_list[i][j] = 1
	return effective_list