defined a frequency function and added a csv file with original ciphertext