Iss 8 implement voting

voting functionality done