sample for simple RSA algorithm