made a global reformat.
cleaned and separated problems up to 6