New algorithm for leader election in Distributed WSN with software agents | IEEE Conference Publication | IEEE Xplore