saegusa's submission of Count Steps in Matrix | CodeChef