h-index
A researcher's h-index is the largest h such that at least h of their papers have
h or more citations each. Write h_index(citations) for a list of citation counts.
h_index([3, 0, 6, 1, 5]) -> 3 (three papers with at least 3 citations)
h_index([1, 3, 1]) -> 1
h_index([0]) -> 0
The point is to practise "sort, then one pass" where the pass compares each value with its position.
def h_index(citations):
...