Bitap: my favorite string matching algorithm

A puzzling Python program