Maciej Dulęba's submission of Count Steps in Matrix | CodeChef