Started adding boyer-moore majority vote part