Update Permutation.scala