generation of rand int added
first commit