update testing performances algorithm

    step is calculated via n_max
    don't generate everything everytime, just generate what is new
    add srand instruction for real rand() instruction
Merge branch 'master' of github.com:M1Luminy/TP_Complexite
fix another crap bug in algo_naif