For every collumn that contains the minimum number of the whole matrix, the collumn gets replaced entirely with the minimum number.
e.g:
input 8 3 3 7