Basic quicksort and test file with 5k entries

The quicksort now sorts arrays properly and does not crash anymore.