Weapon Assignment Problem reduced to permutations implemented