$population[$swapper] = $population[-1];