Boyer Moore Algorithm Majority Element Leetcode