Elgamal is commented and some memory leaks are resolved