[algos] simplify file parsing
[algos] add quicksort implementation