Project Euler #238: Infinite string tour