Added solution to eratosthenes class.