removed unecessary includes and swapped out using namespace std; to prevent namespace pollution.