boyer-moore added
normalize function added