Pesky Permuations (170 pts)

Solved by: xand, traw123