How can I remove the smallest integer (or minimum integer) from each rows, then each columns and print the reduced matrix. Condition: The inputs must be given as list and d