add script to randomly test the programs,

fix typo