Changed primitive data types to BigInteger and made use of BigInteger
methods to generate RSA keys.