Added a simple method to generate a random number in FMath.java