Creating methods 'print_header', 'print(names) and 'print_footer(names)