Python String Pattern Search Algorithms Tutorial