trivial python permutation program

This program is intended to show only that I've programmed a bit in
python--this is a trivial, very quick implementation.  I created it as
a helper program for figuring out a math problem, not for class or
professional use. The num_edits function calculates the total number of
edits to a max_int variable for every permutation of the array.