Added a Makefile to cpp/
Improved the code quality of the C++ and Python implementations of Permutation.toCycles()
Made the Haskell implementation of Permutation.toCycles more efficient