Program To Swap First Half With Last Half In An Array