Problem 38 solution added. ~0.002 seconds running time.