Principal Rechercher Cum Swapping Compilaiton