Using namespace std instead of individual functions from std