Problem 36 solution added. ~0.6 seconds running time.