Added 1-4 parts of algo and some subalgo.

also changed numeration of algo