* feat: add Germain and Safe prime utility class with unit tests * refactor the code * fixed identified bugs * fixed identified remaining bugs --------- Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com>