added check for encryption of 1 for elgamal
started fixing a bug in elgamal homomorphic addition