Euler Problem 49, quick sort