problem 7 for 10001th Prime is added