1.enable runing in main.py; 2. add random_alg.py