permutation-creation script
script to convert coords