Delegation with block
Created delegate_to function generator