title: Random Number Generator with a Seed
body: <p>I am generating random numbers by using srand(time(NULL)).
  Any idea why it always gives just even random numbers? In my case its giving so. Please help i need odd numbers too. 
  I need the set of 0s, 1s.
  for eg : {1,1,0,0,1,0,0,0,1,1,0}</p>