added voting capability and winner determination
