Make calculate_checksum() a function
Make function print_rom_header_title
minor style changes