add majority number: first try, brute force

Signed-off-by: xbz <xbz.o3sig@gmail.com>