My own implementation of RSA Encryption