in-place permutation (java)
test for in-place permutation (java)
scala exercises (P59)