added comments for the majority formula
added fomula documentation
Merge pull request #36 from habdelra/majority-comments

added comments for the majority formula