added elgamal toy example