def nearest_goal(board, goal):
    """ Calculates the manhattan distance between the expanded block and
        the nearest block that is aligned with the goal
        :param board: current Board State
        :param goal: tuple with coordinates to the nearest goal
    """
    return board.manhattan(goal, board.move.finish_block)