add sort logic

- normal quick sort
- randomized quick sort
fix import statement