Ankur Kayal's submission of Smallest KMP | CodeChef