generating random ints complete