added random number generator in math module