add random integer generator.
replace swap procedure with another way.