Majority & Even_Odd implemented