elg.cc tests elgamal implementation: enc/dec, hom. mul are correct