Added prime util class