Counting inversions task 2.4 is done. Made use of Writer monad (first
time ever, not like I am really sure, things are done right). Still
there can be an improvement of actually finding all inversions' indices.