Problem 45 Solution, ~0.062 second Execution Time