Added if statements to print & print_footer, to deal with no input from the user