Update src/RandomGen.java

Fixed the random generation of the target number.