Generating Random Numbers in a given range