get rid of paths
Revert "get rid of paths"

This reverts commit c2a712173e1933f3197d8263081d9359bebe500d.
correct order of arguments in foldl
no need for parent
remove "parent", add "votes"
new init_vstate
take #votes into account
majority.erl: initial commit
dot.erl: initial commit