Power Set
Count Inversions in a array