Create LeaderElection.cpp