fixed bug where 0 and 1 were listed as prime