Moved Problem and IncrementalSieve to shared code, solved problem 10