Added problem 10, refactored prime methods into eratosthenes