Project Euler: Problem 28: Number Spiral Diagonals