added function print_sent_raw_codes, created function becausewanted a way to save the code to send it