This program simulates the leader election process It needs to install the kthread (make the thread be killable) If you use it under mac, just run the script.sh (But need to change the path in the file)