added chosen leader delegate
Merge branch 'hw3'
adding zookepper delegate function