implemented RSA key pair generation
fix typo
Fixed many things