added algorithm to zero out any column and row that has a zero