A small script that computes the pi table for the KMP String matching algorithm