Modified in voter class
one method added printvoterDetail()