Hacker Rank Interview Prep: Merge Sort: Counting Inversions