Slight simplification to prime generation code
Delete unneeded line