This tool visualises algorithm implementations as described in COMP10002
Foundations of Algorithms at the University of Melbourne.
Note in particular that other sources often use a different (equivalent)
convention for the KMP string search failure function unlike what is taught
in this subject.
Hope this helps!
Kacie.