Problem 46 solution added. ~0.007 seconds running time.