Task7. Function dependency tree evaluation