Moved printing out of main.c.