need to implement indexOf by BM algorithm
BM algo copied version, need more research
BM algo finished
Minor Bug fixes