Bully Algorithm implementation.