Added detect_delegates.ps1

Delegation detection script