Problem 41 solution added. ~0.002 seconds running time.