adding a function to generate spearation and marking. For the moment only par case working
both odd and par case working