Implementing Bully Algorithm