added get-partitions-with-sage.py (used in testing) -KL