Project Euler 416 A frog's trip