Converted permutation.py to C++
Made Permutation.hs trim all values automatically and took care of remaining
Haskell compilation issues
permutation.py: Added an `identity` classmethod to further keep users away from
the constructor