Moved << operator overloads to main

This was the problem I ran into on project 1, too. We should keep all
global overloads in main.cpp from now on.