Added Brute force count inversion algo