pub fn add_proposal(&mut self, proposal_name: String){
            self.proposals.push(
                Proposal{
                    name:String::from(proposal_name),
                    vote_count: 0,
            });
        }
/// adds the given proposal name in ballet
/// to do: check unqiueness of proposal,
adds the given proposal name in ballet
to do: check unqiueness of proposal.
adds the given proposal name in ballet to do : check unqiueness of proposal .
pub fn add_proposal(&mut self, proposal_name: String){
            self.proposals.push(
                Proposal{
                    name:String::from(proposal_name),
                    vote_count: 0,
            });
        }
pub fn add_proposal ( & mut self , proposal_name : String ) { self . proposals . push ( Proposal { name : String :: from ( proposal_name ) , vote_count : 0 , } ) ; }
adds the given proposal name in ballet
to do: check unqiueness of proposal,
adds the given proposal name in ballet to do : check unqiueness of proposal
&mut self
proposal_name
String
&mut self
proposal_name
String