def calculate_manhattan_distance(first_node, second_node):
    """
    Calculates the manhattan distance between 2 nodes
    """
    return abs(first_node.coords[0] - second_node.coords[0]) + abs(first_node.coords[1] - second_node.coords[1])