Kmp Strings Interview Question