add main.c
add '.gitattribute'
improve leader election
atomic broadcast skeleton