Problem 45 solution added. ~0.033 seconds running time.