Not Perfect, but ok for lab6

Next : modification of leaderElection