Wentao Wang's submission of Count Steps in Matrix | CodeChef