Function to create voter list