updated class structure : added search for prime factorials