Archigos work

Leader identification code written and tested