def get_location_type(location, board_width):
	"""
	Returns the type of location passed, according to the width of the board
	provided. 
	"Corner" returns 3. 
	"Edge" returns 2.
	Otherwise returns 1.
	"""
	corners = (0, board_width - 1)
	if location[0] in corners and location[1] in corners:
		return 3
	if location[0] in corners or location[1] in corners:
		return 2
	return 1