detect_version_conflicts function

Detect Version Conflicts from dependency tree