Changed logic in generateprimenumbers class