avinash soni's submission of Smallest KMP | CodeChef