Problem 46 Solution, ~2.468 second Execution Time