Functions to clean the plaintext (remove accents and spaces, lower to upper case) and putting into header file for reuse