Version atualized and bug fix at swapRow i!=k