added vector support, removed quick sort, completed junit