fixed another bug, added Quick Sort