Coursera - week 2 assignment : Quicksort algorithm + counting comparisons