prob6: Added solution.
prob7: Added solution
prob3: Fixed prime indicator algorithm.