Add majority problem solution;