Brute Force Solution to Problem 4

Not my best piece of code.