This is an example i created of an insitu program that swap parts two parts of an array