Added a solution for Problem 8. Would love to see this solution cleaned up, and cut down on the amount of code used.