Pancake sorting in cpp
Rearrange added