def manhattan(point,point2):
    """
        Function that performs Manhattan heuristic.
    """
    dx = abs(point.grid_point[0] - point2.grid_point[0])
    dy = abs(point.grid_point[1] - point2.grid_point[1])
	
    return dx + dy