revised ranked-voting, still bugged w inf loop