Add Majority Voting algorithm (Python)

Algorithm with a linear time complexity.