Several flavors of kaczmarz method for solving linear systems