Project Euler #178: Step Numbers