David's submission of Digit Matrix | CodeChef