DS's submission of Digit Matrix | CodeChef