Solution for problem 6
Solution for problem 7

Also again refactored the prime creating so that it can be used in
problem 7
Solution for problem 8
Solution for problem 9
Solution for problem 10
Solution for problem 11
Solution for problem 12
Solution for problem 13