Added solutions for 6-9. Problem 10's solution will work, but simply takes way too long and needs to be optimized