Python implementation of the elgamal crypto system