Saoilí's Project Euler code