Works

Changed to create array from text file.
Added ability to track inversions.
Added brute force inversions to verify answer.

Still needs cleanup and better commenting, but produces the correct
result.