got rid of using namespace std from the files

Now all standard library functions use std::