Problem 32 solution added. ~0.06 seconds running time.