def distanceBetweenTwoPoints(a, b):
	"""
	Gives the distance between two points on a 2D grid.
	:param a: Tuple of the first point with a X and Y coordinate.
	:type a: List
	:param b: Same as a.
	:type b: List
	:returns: Distance between those points.
	:rtype: Float or int depending of the type of the coordinates.
	"""
	return (abs(a[0] - b[0]) + abs(a[1] - b[1]))