First impl of voting machine