Added random number generator to python server