quick sort class + test class