updated namespace

removed “using namespace std;” from all files except header as all
files include the header so it is redundent to rewrite it
removed namespace definition

removed “using namespace std;” from all .cpp files because it is
defined in the header and the header is included in all files