Modifications in HElib library to support comparison operations