KMP - added function to print partial match table