New technology protects votes from hackers in midterm election