chandan's submission of Walk | CodeChef