Finished CountInversion and Question1