refactored and tested new zero_rows method
refactored zero_columns, tested