Remove "using namespace std;" and add constness to searches.
More cleanup. malloc=>new.
Merge pull request #7 from BenFrantzDale/cleanup

Cleanup: Remove "using namespace std;" and add constness to searches.