revised. defined prime_number? class