Completed Ballot class implementation