project 80% finished. qsort, seed_optimization needed.