Steinhaus-Johnson-Trotter algorithm

From dankwiki