Problem 43 Solution, ~37 second Execution Time