Zeroes

Write an algorithm such that if an element of an MxN matrix is 0, its
entire row and column are set to 0.