Basic functionality, now only needs actual leader election Algorithm