Solution to problem 6
Solution to problem 7
Solution to problem 8
Solution to problem 9
Solution to problem 10
Removed overhead function in problem 10