added quick sort; added possibility to use scripts arguments; some changes in tests are made