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

I think ```auto``` would be ok here; the types don't really carry any important information (other than the fact it is the same type for ```first``` and ```second```). Also, with the comment (a line below here) its clear enough to me what it does.