Problem 10
Prime generator