narrowed down problems, commented out some code

need to properly double vector size, but gives a complaint about
converting from int to non scalar type
commit to branch and switch to arrays
works up to the sort, does not sort properly

will try to implement qsort instead of stl algorithm sort()
which means making void * cmp method out of soc_cmp
sorting works, now need to implement bsearch

used qsort, and got a void * cmp function working for it. Will use
same function on the bsearch call, should go smooth. Also have
two test files for auto tests, need to add search segments to them
working program, folding back into master