A novel leader election algorithm based on resources for ring networks. (23rd April 2018)