prashant's submission of K Path Query | CodeChef