Change method from private to public
Add elgamal.cpp and Entity class