Programm to predict future by random number generator