def manhattan(p1, p2):
	"""
	@param p1 : a tuple with the coords of a position 
	@param p2 : another tuple with the coords of another position
	Return manhattan distance between 2 points.
	"""
	return abs( p1[0] - p2[0]) + abs(p1[1] - p2[1] )