added counter to keep track of permutations and for readability
Merge pull request #1 from spurioso/master

added counter to keep track of permutations and for readability