getElectionResult() method added