add solution of Majority Element