Problem 87 solution added. ~1.1 seconds running time.