Print text to terminal from main function.