RSA Class added, minor changes to lock and message classes