Updated the ElectionBroadcast
Updated Java Docs and tidied code