fixed adjacent swap issue with addding nils into array
Merge branch 'master' of https://github.com/edwardchalstrey1/pmeth