Added Majority.scala