Reordered C output
Merge branch 'Merge with branch "doing_c" and introduced ordered numbering with heap memory allocation'