Get rid of instances of "using namespace std;" in the project

cc @Sonicadvance1