mate function implemented os1, os2, os3, os4
randInRange function
dnos generation