Fixed bruteforce2. It's still very inefficient (computes from ground-up for each perm). Works for 20-30 antennas.