Wentao Wang's submission of Knight Moving | CodeChef