Created the RSA Algorithm Class to hold the logic for the encryptMessage, decryptMessage and keyGeneration.